//
//  MineHeaderCell.h
//  UniversalApp
//
//  Created by 志刚杨 on 2018/1/27.
//  Copyright © 2018年 voidcat. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "CYLevel.h"
#import "UserCenterModel.h"

typedef NS_ENUM(NSInteger, CYMineClickType) {
    CYMineClickTypeLeft,//默认从0开始
    CYMineClickTypeCenter,
    CYMineClickTypeRight,
};

@protocol MineHeaderCellDelegate <NSObject>
@optional
/**
 数据加载完成
 */
-(void)MineHeaderClickItemWithType:(CYMineClickType )type;

-(void)MineHeaderClick;

@end

@interface MineHeaderCell : UITableViewCell
@property (weak, nonatomic) IBOutlet UIButton *headerImage;
@property (nonatomic, strong) IBOutlet UILabel *userNickname;
@property (weak, nonatomic) IBOutlet UIButton *t1;
@property (weak, nonatomic) IBOutlet UIImageView *t2;
@property (nonatomic, strong) IBOutlet QMUIFillButton *level;
@property (weak, nonatomic) IBOutlet UILabel *labAttr;
@property (weak, nonatomic) IBOutlet UILabel *labFans;
@property (weak, nonatomic) IBOutlet UILabel *labRate;

@property (weak, nonatomic) IBOutlet UILabel *labAttrNum;

@property (weak, nonatomic) IBOutlet UILabel *labFansNum;
@property (weak, nonatomic) IBOutlet UILabel *labRateNum;
@property (weak, nonatomic) IBOutlet UIView *headerSupper;

@property(nonatomic, strong) UserCenterModel *model;
@property(nonatomic, strong) id<MineHeaderCellDelegate> delegae;
@property(nonatomic, strong) UILabel *LBids;
-(void)updateData;
@end

